<!--
<template>
    <form class="edit_cash" method="post" action="{:U('payin')}">
        <section>
            <div class="purchase_quantity" id="alipay">
                <div class="input_b">
                    <img src="{$skin.images}z_input.png" alt="" id="btn2">
                    <input type="radio" name="pay" id="alirid" class="cb-radio">
                </div>
                <div class="left"><img src="{$skin.images}z_zhifubao.png" alt=""></div>
                <div class="right">支付宝</div>
            </div>
        </section>
    </form>
    <footer>
        <button class="submit">立即支付(￥<span>{$order.total_amount}</span>)</button>
    </footer>
</template>

<script>
    export default {
        name: "aliPay"
    }

    $("#alipay").on('click', function () {
        radios.eq(0).prop("checked", false);
        radios.eq(1).prop("checked", true);
        $(".Weixin").css('display', 'none');
        $(".alipay").css('display', 'block');
        $("button").css("background", "#108ee9");
        $("#btn1").attr('src', '{$skin.images}z_input.png');
        $("#btn2").attr('src', '{$skin.images}z_checked (2).png');

    });
</script>

<style scoped>
    * {
        padding: 0;
        margin: 0;
    }

    li {
        list-style: none;
    }

    .txh {
        display: flex;
        display: -webkit-flex;
    }

    html,
    body {
        font-family: pingFangSC-Regular !important;
        background: #f5f5f5;
        width: 100%;
        height: 100%;
    }

    html header,
    body header {
        border-bottom: 1px solid #e8e8e8;
        background: #fff;
    }

    html header ul,
    body header ul {
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 1.17333333rem;
        font-size: 0.48rem;
        padding: 0 2%;
        color: #222;
        box-sizing: border-box;
    }

    html header ul li:nth-child(1) img,
    body header ul li:nth-child(1) img {
        width: 0.21333333rem;
        height: 0.36rem;
    }

    html section #Weixin,
    body section #Weixin,
    html section #alipay,
    body section #alipay {
        margin-top: 0.4rem;
        display: flex;
        display: -webkit-flex;
        justify-content: left;
        align-items: center;
    }

    html section #Weixin .input_b,
    body section #Weixin .input_b,
    html section #alipay .input_b,
    body section #alipay .input_b {
        width: 0.4rem;
        height: 0.4rem;
        position: relative;
        margin-right: 0.4rem;
    }

    html section #Weixin .input_b img,
    body section #Weixin .input_b img,
    html section #alipay .input_b img,
    body section #alipay .input_b img {
        width: 0.4rem;
        height: 0.4rem;
        position: absolute;
        top: 0;
        right: 0;
        z-index: 33;
    }

    html section #Weixin .input_b input,
    body section #Weixin .input_b input,
    html section #alipay .input_b input,
    body section #alipay .input_b input {
        width: 0.4rem;
        height: 0.4rem;
        position: absolute;
        top: 0;
        right: 0;
        opacity: 0;
    }

    html section #Weixin .left,
    body section #Weixin .left,
    html section #alipay .left,
    body section #alipay .left {
        width: 0.57333333rem;
        height: 36%;
        margin-right: 0.18666667rem;
    }

    html section #Weixin .right,
    body section #Weixin .right,
    html section #alipay .right,
    body section #alipay .right {
        color: #333;
        font-size: 0.4rem;
    }

    html section .purchase_quantity,
    body section .purchase_quantity {
        border-bottom: 1px solid #e8e8e8;
        height: 1.33333333rem;
        width: 100%;
        background: #fff;
        display: flex;
        display: -webkit-flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 2%;
        padding-right: 2%;
        box-sizing: border-box;
        font-size: 0.4rem;
    }

    html section .purchase_quantity .right,
    body section .purchase_quantity .right {
        color: #d40000;
        font-size: 0.45333333rem;
    }

    html footer,
    body footer {
        width: 100%;
        height: 1.06666667rem;
        margin-top: 0.8rem;
    }

    html footer button,
    body footer button {
        width: 9.46666667rem;
        height: 1.06666667rem;
        background: #10c442;
        border: none;
        color: #fff;
        font-size: 0.4rem;
        border-radius: 8px;
        margin: 0 auto;
        display: block;
    }

    html footer .Weixin,
    body footer .Weixin {
        display: block;
        background: #10c442;
    }

    html footer .alipay,
    body footer .alipay {
        display: none;
        background: #0AE;
    }

    /*# sourceMappingURL=h5_shouyintai.css.map */
</style>-->
